<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 登录</title>
    <link href="/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="/css/animate.css" rel="stylesheet">
    <link href="/css/style.css?v=4.1.0" rel="stylesheet">
</head>

<body class="gray-bg">

    <div class="middle-box text-center loginscreen  animated fadeInDown">
        <div>
            <div>
                <h1 class="logo-name">H+</h1>
            </div>
            <h3>后台管理系统登录</h3>
            <form class="m-t" role="form" action="/admin/login" method="POST">
                <div class="form-group">
                    <input type="text" value="admin" class="form-control" name="username" placeholder="用户名" required="">
                </div>
                <div class="form-group">
                    <input type="text" value="admin000" name="password" class="form-control" placeholder="密码"
                        required="">
                </div>
                <button type="submit" class="btn btn-primary block full-width m-b">登 录</button>


                <p class="text-muted text-center"> <a href="login.html#"><small>忘记密码了？</small></a> | <a
                        href="register.html">注册一个新账号</a>
                </p>

            </form>
        </div>
    </div>

    <!-- 全局js -->
    <script src="/js/jquery.min.js?v=2.1.4"></script>
    <script src="/js/bootstrap.min.js?v=3.3.6"></script>
</body>

<script>
   /*  $(".m-t").on("submit",function (e) { 
        e.preventDefault()
        var username = $("#username").val();
        var password = $("#password").val();
​
​
        $.ajax({
            url:"/user/register",
            method:"post",
            data:{
                username,
                password
            },
            success:function(data){
                console.log(data);
            }
        })
    }) */
​
</script>

</html>